package com.dc.refactoring._3_重新组织数据._6_ChangeUnidirectionalAssociationToBidirectional.step1;

/**
 * Description: 将单项关联改为双向关联_订单类
 * @author: gdc
 * @date: 2020/11/17
 * @version 1.0
 */
public class Order {

    // 存在一个 Customer 的引用
    private Customer customer;

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }
}
